package com.qumitech.visualnovel.datasource.app;

import com.qumitech.visualnovel.controller.vo.statics.AccountPayStaticsVO;
import com.qumitech.visualnovel.model.dao.app.ShopOrderDO;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface ShopOrderDOMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ShopOrderDO record);

    int insertSelective(ShopOrderDO record);

    ShopOrderDO selectByPrimaryKey(Long id);

    ShopOrderDO selectByOid(String oid);

    int updateByPrimaryKeySelective(ShopOrderDO record);

    int updateByPrimaryKey(ShopOrderDO record);

    List<AccountPayStaticsVO> countPayOrder(@Param("dayStart") Date dayStart, @Param("dayEnd") Date dayEnd);


}